#ifndef MOUSE_H
#define MOUSE_H

#include <QWidget>

namespace Ui {
class mouse;
}

class mouse : public QWidget
{
    Q_OBJECT

public:
    explicit mouse(QWidget *parent = nullptr);
    ~mouse();

    void enterEvent(QEvent *event);
    void leaveEvent(QEvent *event);
    void mousePressEvent(QMouseEvent *event);
    void mouseRealeaseEvent(QMouseEvent *event);
    void mouseMoveEvent(QMouseEvent *event);
    bool event(QEvent *e);

private:
    Ui::mouse *ui;
};

#endif // MOUSE_H
